﻿<UserControl x:Class="SL.Participant.Page_Final"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:extended="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    xmlns:liquid="clr-namespace:Liquid;assembly=Liquid"     
    xmlns:extensions="clr-namespace:SLExtensions.Controls;assembly=SLExtensions.Controls" 
    HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
    >
    <Border Background="Black" Padding="50" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Border Margin="0" Width="500" Height="400"  
                HorizontalAlignment="Center" Padding="25" 
                VerticalAlignment="Center" Background="White" 
                CornerRadius="20">
            <StackPanel>
                <extensions:DockPanel x:Name="MessageFinished" Language="True">
                    <Image Source="icons/exit-128.png" Margin="10" 
                       VerticalAlignment="Top" extensions:DockPanel.Dock="Left"
                       Stretch="None" Width="128" Height="130"/>
                    <TextBlock extensions:DockPanel.Dock="Top" 
                               Margin="5" FontSize="24" Height="40" 
                               Text="Study Completed!" />    
                    <TextBlock Text="You have completed all aspects of this study. No further action is required. Thanks for your participation." 
                               Margin="5"
                               Width="300" TextWrapping="Wrap"/>
                </extensions:DockPanel>
                <extensions:DockPanel x:Name="MessageUnfinished" Language="True">
                    <Image Source="icons/toggle_log-128.png" Margin="10" 
                       VerticalAlignment="Top" extensions:DockPanel.Dock="Left"
                       Stretch="None" Width="128" Height="130"/>
                    <TextBlock extensions:DockPanel.Dock="Top" 
                               Margin="5" FontSize="24" Height="40" 
                               Text="Section Completed" />                    
                    <TextBlock x:Name="NextStudyNotification" Text="You have completed this particular section of this study. Please return to complete the next section between {0} and {1}. Thanks for your continued participation." 
                               Margin="5" Height="250"
                               Width="300" TextWrapping="Wrap"/>
                    
                </extensions:DockPanel>
            </StackPanel>
        </Border>
    </Border>
</UserControl>
